package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.StrategyQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {


    void save(Region region);

    void update(Region region);

    Object get(Long id);

    List<Region> getRegionByParentId(Long parentId);

    void saveOrUpdate(Region region);

    List<Region> selectAll();

    List<Region> list(int state);
}
